﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace MMDemo
{
    interface InterfaceDataStructs
    {
        /// <summary>
        /// 动画演示
        /// </summary>
        void Animation();
        /// <summary>
        /// 初始化数据
        /// </summary>
        void InitData();
        /// <summary>
        /// 恢复数据
        /// </summary>
        void ResetData();
        /// <summary>
        /// 重新设置画布
        /// </summary>
        void ResetBuffer(int Width, int Heigth);
        /// <summary>
        /// 得到双缓冲画布
        /// </summary>
        Bitmap GetBufferBmp();
        /// <summary>
        /// 根据速度控制条的比例，设置当前演示速度
        /// </summary>
        /// <param name="scale"></param>
        void SetSpeed(float scale);
     }
}
